package cn.stylefeng.guns.modular.business.frequency.cmdriver.service;

import cn.stylefeng.guns.core.pojo.page.PageResult;
import cn.stylefeng.guns.modular.business.frequency.cmdriver.entity.CmDriver;
import cn.stylefeng.guns.modular.business.frequency.cmdriver.model.param.CmDriverParam;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 通讯录司机表 服务类
 *
 * @author yujie
 * @date 2023/05/09 17:17
 */
public interface CmDriverService extends IService<CmDriver> {

    /**
     * 分页查询通讯录司机表
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    PageResult<CmDriver> page(CmDriverParam cmDriverParam);

    /**
     * 查询所有通讯录司机表
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    List<CmDriver> list(CmDriverParam cmDriverParam);

    /**
     * 添加通讯录司机表
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    void add(CmDriverParam cmDriverParam);

    /**
     * 删除通讯录司机表
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    void delete(CmDriverParam cmDriverParam);

    /**
     * 编辑通讯录司机表
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    void edit(CmDriverParam cmDriverParam);

    /**
     * 查看详情通讯录司机表
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    CmDriver detail(CmDriverParam cmDriverParam);

}